package com.akk.module.avs.entity;

import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Component
public class AvsPayOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AvsPayOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(String value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(String value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(String value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(String value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(String value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLike(String value) {
            addCriterion("order_id like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotLike(String value) {
            addCriterion("order_id not like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<String> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<String> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(String value1, String value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(String value1, String value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNull() {
            addCriterion("order_num is null");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNotNull() {
            addCriterion("order_num is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNumEqualTo(String value) {
            addCriterion("order_num =", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotEqualTo(String value) {
            addCriterion("order_num <>", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThan(String value) {
            addCriterion("order_num >", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThanOrEqualTo(String value) {
            addCriterion("order_num >=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThan(String value) {
            addCriterion("order_num <", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThanOrEqualTo(String value) {
            addCriterion("order_num <=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLike(String value) {
            addCriterion("order_num like", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotLike(String value) {
            addCriterion("order_num not like", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumIn(List<String> values) {
            addCriterion("order_num in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotIn(List<String> values) {
            addCriterion("order_num not in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumBetween(String value1, String value2) {
            addCriterion("order_num between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotBetween(String value1, String value2) {
            addCriterion("order_num not between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCountIsNull() {
            addCriterion("count is null");
            return (Criteria) this;
        }

        public Criteria andCountIsNotNull() {
            addCriterion("count is not null");
            return (Criteria) this;
        }

        public Criteria andCountEqualTo(Integer value) {
            addCriterion("count =", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotEqualTo(Integer value) {
            addCriterion("count <>", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountGreaterThan(Integer value) {
            addCriterion("count >", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("count >=", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountLessThan(Integer value) {
            addCriterion("count <", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountLessThanOrEqualTo(Integer value) {
            addCriterion("count <=", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountIn(List<Integer> values) {
            addCriterion("count in", values, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotIn(List<Integer> values) {
            addCriterion("count not in", values, "count");
            return (Criteria) this;
        }

        public Criteria andCountBetween(Integer value1, Integer value2) {
            addCriterion("count between", value1, value2, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotBetween(Integer value1, Integer value2) {
            addCriterion("count not between", value1, value2, "count");
            return (Criteria) this;
        }

        public Criteria andServiceCostIsNull() {
            addCriterion("service_cost is null");
            return (Criteria) this;
        }

        public Criteria andServiceCostIsNotNull() {
            addCriterion("service_cost is not null");
            return (Criteria) this;
        }

        public Criteria andServiceCostEqualTo(Double value) {
            addCriterion("service_cost =", value, "serviceCost");
            return (Criteria) this;
        }

        public Criteria andServiceCostNotEqualTo(Double value) {
            addCriterion("service_cost <>", value, "serviceCost");
            return (Criteria) this;
        }

        public Criteria andServiceCostGreaterThan(Double value) {
            addCriterion("service_cost >", value, "serviceCost");
            return (Criteria) this;
        }

        public Criteria andServiceCostGreaterThanOrEqualTo(Double value) {
            addCriterion("service_cost >=", value, "serviceCost");
            return (Criteria) this;
        }

        public Criteria andServiceCostLessThan(Double value) {
            addCriterion("service_cost <", value, "serviceCost");
            return (Criteria) this;
        }

        public Criteria andServiceCostLessThanOrEqualTo(Double value) {
            addCriterion("service_cost <=", value, "serviceCost");
            return (Criteria) this;
        }

        public Criteria andServiceCostIn(List<Double> values) {
            addCriterion("service_cost in", values, "serviceCost");
            return (Criteria) this;
        }

        public Criteria andServiceCostNotIn(List<Double> values) {
            addCriterion("service_cost not in", values, "serviceCost");
            return (Criteria) this;
        }

        public Criteria andServiceCostBetween(Double value1, Double value2) {
            addCriterion("service_cost between", value1, value2, "serviceCost");
            return (Criteria) this;
        }

        public Criteria andServiceCostNotBetween(Double value1, Double value2) {
            addCriterion("service_cost not between", value1, value2, "serviceCost");
            return (Criteria) this;
        }

        public Criteria andRealAmountIsNull() {
            addCriterion("real_amount is null");
            return (Criteria) this;
        }

        public Criteria andRealAmountIsNotNull() {
            addCriterion("real_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRealAmountEqualTo(Double value) {
            addCriterion("real_amount =", value, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountNotEqualTo(Double value) {
            addCriterion("real_amount <>", value, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountGreaterThan(Double value) {
            addCriterion("real_amount >", value, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("real_amount >=", value, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountLessThan(Double value) {
            addCriterion("real_amount <", value, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountLessThanOrEqualTo(Double value) {
            addCriterion("real_amount <=", value, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountIn(List<Double> values) {
            addCriterion("real_amount in", values, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountNotIn(List<Double> values) {
            addCriterion("real_amount not in", values, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountBetween(Double value1, Double value2) {
            addCriterion("real_amount between", value1, value2, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountNotBetween(Double value1, Double value2) {
            addCriterion("real_amount not between", value1, value2, "realAmount");
            return (Criteria) this;
        }

        public Criteria andAmountTotalIsNull() {
            addCriterion("amount_total is null");
            return (Criteria) this;
        }

        public Criteria andAmountTotalIsNotNull() {
            addCriterion("amount_total is not null");
            return (Criteria) this;
        }

        public Criteria andAmountTotalEqualTo(Double value) {
            addCriterion("amount_total =", value, "amountTotal");
            return (Criteria) this;
        }

        public Criteria andAmountTotalNotEqualTo(Double value) {
            addCriterion("amount_total <>", value, "amountTotal");
            return (Criteria) this;
        }

        public Criteria andAmountTotalGreaterThan(Double value) {
            addCriterion("amount_total >", value, "amountTotal");
            return (Criteria) this;
        }

        public Criteria andAmountTotalGreaterThanOrEqualTo(Double value) {
            addCriterion("amount_total >=", value, "amountTotal");
            return (Criteria) this;
        }

        public Criteria andAmountTotalLessThan(Double value) {
            addCriterion("amount_total <", value, "amountTotal");
            return (Criteria) this;
        }

        public Criteria andAmountTotalLessThanOrEqualTo(Double value) {
            addCriterion("amount_total <=", value, "amountTotal");
            return (Criteria) this;
        }

        public Criteria andAmountTotalIn(List<Double> values) {
            addCriterion("amount_total in", values, "amountTotal");
            return (Criteria) this;
        }

        public Criteria andAmountTotalNotIn(List<Double> values) {
            addCriterion("amount_total not in", values, "amountTotal");
            return (Criteria) this;
        }

        public Criteria andAmountTotalBetween(Double value1, Double value2) {
            addCriterion("amount_total between", value1, value2, "amountTotal");
            return (Criteria) this;
        }

        public Criteria andAmountTotalNotBetween(Double value1, Double value2) {
            addCriterion("amount_total not between", value1, value2, "amountTotal");
            return (Criteria) this;
        }

        public Criteria andOutTradeNumIsNull() {
            addCriterion("out_trade_num is null");
            return (Criteria) this;
        }

        public Criteria andOutTradeNumIsNotNull() {
            addCriterion("out_trade_num is not null");
            return (Criteria) this;
        }

        public Criteria andOutTradeNumEqualTo(String value) {
            addCriterion("out_trade_num =", value, "outTradeNum");
            return (Criteria) this;
        }

        public Criteria andOutTradeNumNotEqualTo(String value) {
            addCriterion("out_trade_num <>", value, "outTradeNum");
            return (Criteria) this;
        }

        public Criteria andOutTradeNumGreaterThan(String value) {
            addCriterion("out_trade_num >", value, "outTradeNum");
            return (Criteria) this;
        }

        public Criteria andOutTradeNumGreaterThanOrEqualTo(String value) {
            addCriterion("out_trade_num >=", value, "outTradeNum");
            return (Criteria) this;
        }

        public Criteria andOutTradeNumLessThan(String value) {
            addCriterion("out_trade_num <", value, "outTradeNum");
            return (Criteria) this;
        }

        public Criteria andOutTradeNumLessThanOrEqualTo(String value) {
            addCriterion("out_trade_num <=", value, "outTradeNum");
            return (Criteria) this;
        }

        public Criteria andOutTradeNumLike(String value) {
            addCriterion("out_trade_num like", value, "outTradeNum");
            return (Criteria) this;
        }

        public Criteria andOutTradeNumNotLike(String value) {
            addCriterion("out_trade_num not like", value, "outTradeNum");
            return (Criteria) this;
        }

        public Criteria andOutTradeNumIn(List<String> values) {
            addCriterion("out_trade_num in", values, "outTradeNum");
            return (Criteria) this;
        }

        public Criteria andOutTradeNumNotIn(List<String> values) {
            addCriterion("out_trade_num not in", values, "outTradeNum");
            return (Criteria) this;
        }

        public Criteria andOutTradeNumBetween(String value1, String value2) {
            addCriterion("out_trade_num between", value1, value2, "outTradeNum");
            return (Criteria) this;
        }

        public Criteria andOutTradeNumNotBetween(String value1, String value2) {
            addCriterion("out_trade_num not between", value1, value2, "outTradeNum");
            return (Criteria) this;
        }

        public Criteria andAccessIdIsNull() {
            addCriterion("access_id is null");
            return (Criteria) this;
        }

        public Criteria andAccessIdIsNotNull() {
            addCriterion("access_id is not null");
            return (Criteria) this;
        }

        public Criteria andAccessIdEqualTo(String value) {
            addCriterion("access_id =", value, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdNotEqualTo(String value) {
            addCriterion("access_id <>", value, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdGreaterThan(String value) {
            addCriterion("access_id >", value, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdGreaterThanOrEqualTo(String value) {
            addCriterion("access_id >=", value, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdLessThan(String value) {
            addCriterion("access_id <", value, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdLessThanOrEqualTo(String value) {
            addCriterion("access_id <=", value, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdLike(String value) {
            addCriterion("access_id like", value, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdNotLike(String value) {
            addCriterion("access_id not like", value, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdIn(List<String> values) {
            addCriterion("access_id in", values, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdNotIn(List<String> values) {
            addCriterion("access_id not in", values, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdBetween(String value1, String value2) {
            addCriterion("access_id between", value1, value2, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdNotBetween(String value1, String value2) {
            addCriterion("access_id not between", value1, value2, "accessId");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andTransDateIsNull() {
            addCriterion("trans_date is null");
            return (Criteria) this;
        }

        public Criteria andTransDateIsNotNull() {
            addCriterion("trans_date is not null");
            return (Criteria) this;
        }

        public Criteria andTransDateEqualTo(Date value) {
            addCriterion("trans_date =", value, "transDate");
            return (Criteria) this;
        }

        public Criteria andTransDateNotEqualTo(Date value) {
            addCriterion("trans_date <>", value, "transDate");
            return (Criteria) this;
        }

        public Criteria andTransDateGreaterThan(Date value) {
            addCriterion("trans_date >", value, "transDate");
            return (Criteria) this;
        }

        public Criteria andTransDateGreaterThanOrEqualTo(Date value) {
            addCriterion("trans_date >=", value, "transDate");
            return (Criteria) this;
        }

        public Criteria andTransDateLessThan(Date value) {
            addCriterion("trans_date <", value, "transDate");
            return (Criteria) this;
        }

        public Criteria andTransDateLessThanOrEqualTo(Date value) {
            addCriterion("trans_date <=", value, "transDate");
            return (Criteria) this;
        }

        public Criteria andTransDateIn(List<Date> values) {
            addCriterion("trans_date in", values, "transDate");
            return (Criteria) this;
        }

        public Criteria andTransDateNotIn(List<Date> values) {
            addCriterion("trans_date not in", values, "transDate");
            return (Criteria) this;
        }

        public Criteria andTransDateBetween(Date value1, Date value2) {
            addCriterion("trans_date between", value1, value2, "transDate");
            return (Criteria) this;
        }

        public Criteria andTransDateNotBetween(Date value1, Date value2) {
            addCriterion("trans_date not between", value1, value2, "transDate");
            return (Criteria) this;
        }

        public Criteria andFinishDateIsNull() {
            addCriterion("finish_date is null");
            return (Criteria) this;
        }

        public Criteria andFinishDateIsNotNull() {
            addCriterion("finish_date is not null");
            return (Criteria) this;
        }

        public Criteria andFinishDateEqualTo(Date value) {
            addCriterion("finish_date =", value, "finishDate");
            return (Criteria) this;
        }

        public Criteria andFinishDateNotEqualTo(Date value) {
            addCriterion("finish_date <>", value, "finishDate");
            return (Criteria) this;
        }

        public Criteria andFinishDateGreaterThan(Date value) {
            addCriterion("finish_date >", value, "finishDate");
            return (Criteria) this;
        }

        public Criteria andFinishDateGreaterThanOrEqualTo(Date value) {
            addCriterion("finish_date >=", value, "finishDate");
            return (Criteria) this;
        }

        public Criteria andFinishDateLessThan(Date value) {
            addCriterion("finish_date <", value, "finishDate");
            return (Criteria) this;
        }

        public Criteria andFinishDateLessThanOrEqualTo(Date value) {
            addCriterion("finish_date <=", value, "finishDate");
            return (Criteria) this;
        }

        public Criteria andFinishDateIn(List<Date> values) {
            addCriterion("finish_date in", values, "finishDate");
            return (Criteria) this;
        }

        public Criteria andFinishDateNotIn(List<Date> values) {
            addCriterion("finish_date not in", values, "finishDate");
            return (Criteria) this;
        }

        public Criteria andFinishDateBetween(Date value1, Date value2) {
            addCriterion("finish_date between", value1, value2, "finishDate");
            return (Criteria) this;
        }

        public Criteria andFinishDateNotBetween(Date value1, Date value2) {
            addCriterion("finish_date not between", value1, value2, "finishDate");
            return (Criteria) this;
        }

        public Criteria andPayerIdIsNull() {
            addCriterion("payer_id is null");
            return (Criteria) this;
        }

        public Criteria andPayerIdIsNotNull() {
            addCriterion("payer_id is not null");
            return (Criteria) this;
        }

        public Criteria andPayerIdEqualTo(String value) {
            addCriterion("payer_id =", value, "payerId");
            return (Criteria) this;
        }

        public Criteria andPayerIdNotEqualTo(String value) {
            addCriterion("payer_id <>", value, "payerId");
            return (Criteria) this;
        }

        public Criteria andPayerIdGreaterThan(String value) {
            addCriterion("payer_id >", value, "payerId");
            return (Criteria) this;
        }

        public Criteria andPayerIdGreaterThanOrEqualTo(String value) {
            addCriterion("payer_id >=", value, "payerId");
            return (Criteria) this;
        }

        public Criteria andPayerIdLessThan(String value) {
            addCriterion("payer_id <", value, "payerId");
            return (Criteria) this;
        }

        public Criteria andPayerIdLessThanOrEqualTo(String value) {
            addCriterion("payer_id <=", value, "payerId");
            return (Criteria) this;
        }

        public Criteria andPayerIdLike(String value) {
            addCriterion("payer_id like", value, "payerId");
            return (Criteria) this;
        }

        public Criteria andPayerIdNotLike(String value) {
            addCriterion("payer_id not like", value, "payerId");
            return (Criteria) this;
        }

        public Criteria andPayerIdIn(List<String> values) {
            addCriterion("payer_id in", values, "payerId");
            return (Criteria) this;
        }

        public Criteria andPayerIdNotIn(List<String> values) {
            addCriterion("payer_id not in", values, "payerId");
            return (Criteria) this;
        }

        public Criteria andPayerIdBetween(String value1, String value2) {
            addCriterion("payer_id between", value1, value2, "payerId");
            return (Criteria) this;
        }

        public Criteria andPayerIdNotBetween(String value1, String value2) {
            addCriterion("payer_id not between", value1, value2, "payerId");
            return (Criteria) this;
        }

        public Criteria andAppIdIsNull() {
            addCriterion("app_id is null");
            return (Criteria) this;
        }

        public Criteria andAppIdIsNotNull() {
            addCriterion("app_id is not null");
            return (Criteria) this;
        }

        public Criteria andAppIdEqualTo(String value) {
            addCriterion("app_id =", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotEqualTo(String value) {
            addCriterion("app_id <>", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdGreaterThan(String value) {
            addCriterion("app_id >", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdGreaterThanOrEqualTo(String value) {
            addCriterion("app_id >=", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdLessThan(String value) {
            addCriterion("app_id <", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdLessThanOrEqualTo(String value) {
            addCriterion("app_id <=", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdLike(String value) {
            addCriterion("app_id like", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotLike(String value) {
            addCriterion("app_id not like", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdIn(List<String> values) {
            addCriterion("app_id in", values, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotIn(List<String> values) {
            addCriterion("app_id not in", values, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdBetween(String value1, String value2) {
            addCriterion("app_id between", value1, value2, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotBetween(String value1, String value2) {
            addCriterion("app_id not between", value1, value2, "appId");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andOrderIpIsNull() {
            addCriterion("order_ip is null");
            return (Criteria) this;
        }

        public Criteria andOrderIpIsNotNull() {
            addCriterion("order_ip is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIpEqualTo(String value) {
            addCriterion("order_ip =", value, "orderIp");
            return (Criteria) this;
        }

        public Criteria andOrderIpNotEqualTo(String value) {
            addCriterion("order_ip <>", value, "orderIp");
            return (Criteria) this;
        }

        public Criteria andOrderIpGreaterThan(String value) {
            addCriterion("order_ip >", value, "orderIp");
            return (Criteria) this;
        }

        public Criteria andOrderIpGreaterThanOrEqualTo(String value) {
            addCriterion("order_ip >=", value, "orderIp");
            return (Criteria) this;
        }

        public Criteria andOrderIpLessThan(String value) {
            addCriterion("order_ip <", value, "orderIp");
            return (Criteria) this;
        }

        public Criteria andOrderIpLessThanOrEqualTo(String value) {
            addCriterion("order_ip <=", value, "orderIp");
            return (Criteria) this;
        }

        public Criteria andOrderIpLike(String value) {
            addCriterion("order_ip like", value, "orderIp");
            return (Criteria) this;
        }

        public Criteria andOrderIpNotLike(String value) {
            addCriterion("order_ip not like", value, "orderIp");
            return (Criteria) this;
        }

        public Criteria andOrderIpIn(List<String> values) {
            addCriterion("order_ip in", values, "orderIp");
            return (Criteria) this;
        }

        public Criteria andOrderIpNotIn(List<String> values) {
            addCriterion("order_ip not in", values, "orderIp");
            return (Criteria) this;
        }

        public Criteria andOrderIpBetween(String value1, String value2) {
            addCriterion("order_ip between", value1, value2, "orderIp");
            return (Criteria) this;
        }

        public Criteria andOrderIpNotBetween(String value1, String value2) {
            addCriterion("order_ip not between", value1, value2, "orderIp");
            return (Criteria) this;
        }

        public Criteria andCashCardNoIsNull() {
            addCriterion("cash_card_no is null");
            return (Criteria) this;
        }

        public Criteria andCashCardNoIsNotNull() {
            addCriterion("cash_card_no is not null");
            return (Criteria) this;
        }

        public Criteria andCashCardNoEqualTo(String value) {
            addCriterion("cash_card_no =", value, "cashCardNo");
            return (Criteria) this;
        }

        public Criteria andCashCardNoNotEqualTo(String value) {
            addCriterion("cash_card_no <>", value, "cashCardNo");
            return (Criteria) this;
        }

        public Criteria andCashCardNoGreaterThan(String value) {
            addCriterion("cash_card_no >", value, "cashCardNo");
            return (Criteria) this;
        }

        public Criteria andCashCardNoGreaterThanOrEqualTo(String value) {
            addCriterion("cash_card_no >=", value, "cashCardNo");
            return (Criteria) this;
        }

        public Criteria andCashCardNoLessThan(String value) {
            addCriterion("cash_card_no <", value, "cashCardNo");
            return (Criteria) this;
        }

        public Criteria andCashCardNoLessThanOrEqualTo(String value) {
            addCriterion("cash_card_no <=", value, "cashCardNo");
            return (Criteria) this;
        }

        public Criteria andCashCardNoLike(String value) {
            addCriterion("cash_card_no like", value, "cashCardNo");
            return (Criteria) this;
        }

        public Criteria andCashCardNoNotLike(String value) {
            addCriterion("cash_card_no not like", value, "cashCardNo");
            return (Criteria) this;
        }

        public Criteria andCashCardNoIn(List<String> values) {
            addCriterion("cash_card_no in", values, "cashCardNo");
            return (Criteria) this;
        }

        public Criteria andCashCardNoNotIn(List<String> values) {
            addCriterion("cash_card_no not in", values, "cashCardNo");
            return (Criteria) this;
        }

        public Criteria andCashCardNoBetween(String value1, String value2) {
            addCriterion("cash_card_no between", value1, value2, "cashCardNo");
            return (Criteria) this;
        }

        public Criteria andCashCardNoNotBetween(String value1, String value2) {
            addCriterion("cash_card_no not between", value1, value2, "cashCardNo");
            return (Criteria) this;
        }

        public Criteria andPayCardNoIsNull() {
            addCriterion("pay_card_no is null");
            return (Criteria) this;
        }

        public Criteria andPayCardNoIsNotNull() {
            addCriterion("pay_card_no is not null");
            return (Criteria) this;
        }

        public Criteria andPayCardNoEqualTo(String value) {
            addCriterion("pay_card_no =", value, "payCardNo");
            return (Criteria) this;
        }

        public Criteria andPayCardNoNotEqualTo(String value) {
            addCriterion("pay_card_no <>", value, "payCardNo");
            return (Criteria) this;
        }

        public Criteria andPayCardNoGreaterThan(String value) {
            addCriterion("pay_card_no >", value, "payCardNo");
            return (Criteria) this;
        }

        public Criteria andPayCardNoGreaterThanOrEqualTo(String value) {
            addCriterion("pay_card_no >=", value, "payCardNo");
            return (Criteria) this;
        }

        public Criteria andPayCardNoLessThan(String value) {
            addCriterion("pay_card_no <", value, "payCardNo");
            return (Criteria) this;
        }

        public Criteria andPayCardNoLessThanOrEqualTo(String value) {
            addCriterion("pay_card_no <=", value, "payCardNo");
            return (Criteria) this;
        }

        public Criteria andPayCardNoLike(String value) {
            addCriterion("pay_card_no like", value, "payCardNo");
            return (Criteria) this;
        }

        public Criteria andPayCardNoNotLike(String value) {
            addCriterion("pay_card_no not like", value, "payCardNo");
            return (Criteria) this;
        }

        public Criteria andPayCardNoIn(List<String> values) {
            addCriterion("pay_card_no in", values, "payCardNo");
            return (Criteria) this;
        }

        public Criteria andPayCardNoNotIn(List<String> values) {
            addCriterion("pay_card_no not in", values, "payCardNo");
            return (Criteria) this;
        }

        public Criteria andPayCardNoBetween(String value1, String value2) {
            addCriterion("pay_card_no between", value1, value2, "payCardNo");
            return (Criteria) this;
        }

        public Criteria andPayCardNoNotBetween(String value1, String value2) {
            addCriterion("pay_card_no not between", value1, value2, "payCardNo");
            return (Criteria) this;
        }

        public Criteria andIsRedepositIsNull() {
            addCriterion("is_redeposit is null");
            return (Criteria) this;
        }

        public Criteria andIsRedepositIsNotNull() {
            addCriterion("is_redeposit is not null");
            return (Criteria) this;
        }

        public Criteria andIsRedepositEqualTo(Integer value) {
            addCriterion("is_redeposit =", value, "isRedeposit");
            return (Criteria) this;
        }

        public Criteria andIsRedepositNotEqualTo(Integer value) {
            addCriterion("is_redeposit <>", value, "isRedeposit");
            return (Criteria) this;
        }

        public Criteria andIsRedepositGreaterThan(Integer value) {
            addCriterion("is_redeposit >", value, "isRedeposit");
            return (Criteria) this;
        }

        public Criteria andIsRedepositGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_redeposit >=", value, "isRedeposit");
            return (Criteria) this;
        }

        public Criteria andIsRedepositLessThan(Integer value) {
            addCriterion("is_redeposit <", value, "isRedeposit");
            return (Criteria) this;
        }

        public Criteria andIsRedepositLessThanOrEqualTo(Integer value) {
            addCriterion("is_redeposit <=", value, "isRedeposit");
            return (Criteria) this;
        }

        public Criteria andIsRedepositIn(List<Integer> values) {
            addCriterion("is_redeposit in", values, "isRedeposit");
            return (Criteria) this;
        }

        public Criteria andIsRedepositNotIn(List<Integer> values) {
            addCriterion("is_redeposit not in", values, "isRedeposit");
            return (Criteria) this;
        }

        public Criteria andIsRedepositBetween(Integer value1, Integer value2) {
            addCriterion("is_redeposit between", value1, value2, "isRedeposit");
            return (Criteria) this;
        }

        public Criteria andIsRedepositNotBetween(Integer value1, Integer value2) {
            addCriterion("is_redeposit not between", value1, value2, "isRedeposit");
            return (Criteria) this;
        }

        public Criteria andRedepositDateIsNull() {
            addCriterion("redeposit_date is null");
            return (Criteria) this;
        }

        public Criteria andRedepositDateIsNotNull() {
            addCriterion("redeposit_date is not null");
            return (Criteria) this;
        }

        public Criteria andRedepositDateEqualTo(Date value) {
            addCriterion("redeposit_date =", value, "redepositDate");
            return (Criteria) this;
        }

        public Criteria andRedepositDateNotEqualTo(Date value) {
            addCriterion("redeposit_date <>", value, "redepositDate");
            return (Criteria) this;
        }

        public Criteria andRedepositDateGreaterThan(Date value) {
            addCriterion("redeposit_date >", value, "redepositDate");
            return (Criteria) this;
        }

        public Criteria andRedepositDateGreaterThanOrEqualTo(Date value) {
            addCriterion("redeposit_date >=", value, "redepositDate");
            return (Criteria) this;
        }

        public Criteria andRedepositDateLessThan(Date value) {
            addCriterion("redeposit_date <", value, "redepositDate");
            return (Criteria) this;
        }

        public Criteria andRedepositDateLessThanOrEqualTo(Date value) {
            addCriterion("redeposit_date <=", value, "redepositDate");
            return (Criteria) this;
        }

        public Criteria andRedepositDateIn(List<Date> values) {
            addCriterion("redeposit_date in", values, "redepositDate");
            return (Criteria) this;
        }

        public Criteria andRedepositDateNotIn(List<Date> values) {
            addCriterion("redeposit_date not in", values, "redepositDate");
            return (Criteria) this;
        }

        public Criteria andRedepositDateBetween(Date value1, Date value2) {
            addCriterion("redeposit_date between", value1, value2, "redepositDate");
            return (Criteria) this;
        }

        public Criteria andRedepositDateNotBetween(Date value1, Date value2) {
            addCriterion("redeposit_date not between", value1, value2, "redepositDate");
            return (Criteria) this;
        }

        public Criteria andPayBankIsNull() {
            addCriterion("pay_bank is null");
            return (Criteria) this;
        }

        public Criteria andPayBankIsNotNull() {
            addCriterion("pay_bank is not null");
            return (Criteria) this;
        }

        public Criteria andPayBankEqualTo(String value) {
            addCriterion("pay_bank =", value, "payBank");
            return (Criteria) this;
        }

        public Criteria andPayBankNotEqualTo(String value) {
            addCriterion("pay_bank <>", value, "payBank");
            return (Criteria) this;
        }

        public Criteria andPayBankGreaterThan(String value) {
            addCriterion("pay_bank >", value, "payBank");
            return (Criteria) this;
        }

        public Criteria andPayBankGreaterThanOrEqualTo(String value) {
            addCriterion("pay_bank >=", value, "payBank");
            return (Criteria) this;
        }

        public Criteria andPayBankLessThan(String value) {
            addCriterion("pay_bank <", value, "payBank");
            return (Criteria) this;
        }

        public Criteria andPayBankLessThanOrEqualTo(String value) {
            addCriterion("pay_bank <=", value, "payBank");
            return (Criteria) this;
        }

        public Criteria andPayBankLike(String value) {
            addCriterion("pay_bank like", value, "payBank");
            return (Criteria) this;
        }

        public Criteria andPayBankNotLike(String value) {
            addCriterion("pay_bank not like", value, "payBank");
            return (Criteria) this;
        }

        public Criteria andPayBankIn(List<String> values) {
            addCriterion("pay_bank in", values, "payBank");
            return (Criteria) this;
        }

        public Criteria andPayBankNotIn(List<String> values) {
            addCriterion("pay_bank not in", values, "payBank");
            return (Criteria) this;
        }

        public Criteria andPayBankBetween(String value1, String value2) {
            addCriterion("pay_bank between", value1, value2, "payBank");
            return (Criteria) this;
        }

        public Criteria andPayBankNotBetween(String value1, String value2) {
            addCriterion("pay_bank not between", value1, value2, "payBank");
            return (Criteria) this;
        }

        public Criteria andCollecBankIsNull() {
            addCriterion("collec_bank is null");
            return (Criteria) this;
        }

        public Criteria andCollecBankIsNotNull() {
            addCriterion("collec_bank is not null");
            return (Criteria) this;
        }

        public Criteria andCollecBankEqualTo(String value) {
            addCriterion("collec_bank =", value, "collecBank");
            return (Criteria) this;
        }

        public Criteria andCollecBankNotEqualTo(String value) {
            addCriterion("collec_bank <>", value, "collecBank");
            return (Criteria) this;
        }

        public Criteria andCollecBankGreaterThan(String value) {
            addCriterion("collec_bank >", value, "collecBank");
            return (Criteria) this;
        }

        public Criteria andCollecBankGreaterThanOrEqualTo(String value) {
            addCriterion("collec_bank >=", value, "collecBank");
            return (Criteria) this;
        }

        public Criteria andCollecBankLessThan(String value) {
            addCriterion("collec_bank <", value, "collecBank");
            return (Criteria) this;
        }

        public Criteria andCollecBankLessThanOrEqualTo(String value) {
            addCriterion("collec_bank <=", value, "collecBank");
            return (Criteria) this;
        }

        public Criteria andCollecBankLike(String value) {
            addCriterion("collec_bank like", value, "collecBank");
            return (Criteria) this;
        }

        public Criteria andCollecBankNotLike(String value) {
            addCriterion("collec_bank not like", value, "collecBank");
            return (Criteria) this;
        }

        public Criteria andCollecBankIn(List<String> values) {
            addCriterion("collec_bank in", values, "collecBank");
            return (Criteria) this;
        }

        public Criteria andCollecBankNotIn(List<String> values) {
            addCriterion("collec_bank not in", values, "collecBank");
            return (Criteria) this;
        }

        public Criteria andCollecBankBetween(String value1, String value2) {
            addCriterion("collec_bank between", value1, value2, "collecBank");
            return (Criteria) this;
        }

        public Criteria andCollecBankNotBetween(String value1, String value2) {
            addCriterion("collec_bank not between", value1, value2, "collecBank");
            return (Criteria) this;
        }

        public Criteria andGatewayCostIsNull() {
            addCriterion("gateway_cost is null");
            return (Criteria) this;
        }

        public Criteria andGatewayCostIsNotNull() {
            addCriterion("gateway_cost is not null");
            return (Criteria) this;
        }

        public Criteria andGatewayCostEqualTo(Double value) {
            addCriterion("gateway_cost =", value, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostNotEqualTo(Double value) {
            addCriterion("gateway_cost <>", value, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostGreaterThan(Double value) {
            addCriterion("gateway_cost >", value, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostGreaterThanOrEqualTo(Double value) {
            addCriterion("gateway_cost >=", value, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostLessThan(Double value) {
            addCriterion("gateway_cost <", value, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostLessThanOrEqualTo(Double value) {
            addCriterion("gateway_cost <=", value, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostIn(List<Double> values) {
            addCriterion("gateway_cost in", values, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostNotIn(List<Double> values) {
            addCriterion("gateway_cost not in", values, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostBetween(Double value1, Double value2) {
            addCriterion("gateway_cost between", value1, value2, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostNotBetween(Double value1, Double value2) {
            addCriterion("gateway_cost not between", value1, value2, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andProfitIsNull() {
            addCriterion("profit is null");
            return (Criteria) this;
        }

        public Criteria andProfitIsNotNull() {
            addCriterion("profit is not null");
            return (Criteria) this;
        }

        public Criteria andProfitEqualTo(Double value) {
            addCriterion("profit =", value, "profit");
            return (Criteria) this;
        }

        public Criteria andProfitNotEqualTo(Double value) {
            addCriterion("profit <>", value, "profit");
            return (Criteria) this;
        }

        public Criteria andProfitGreaterThan(Double value) {
            addCriterion("profit >", value, "profit");
            return (Criteria) this;
        }

        public Criteria andProfitGreaterThanOrEqualTo(Double value) {
            addCriterion("profit >=", value, "profit");
            return (Criteria) this;
        }

        public Criteria andProfitLessThan(Double value) {
            addCriterion("profit <", value, "profit");
            return (Criteria) this;
        }

        public Criteria andProfitLessThanOrEqualTo(Double value) {
            addCriterion("profit <=", value, "profit");
            return (Criteria) this;
        }

        public Criteria andProfitIn(List<Double> values) {
            addCriterion("profit in", values, "profit");
            return (Criteria) this;
        }

        public Criteria andProfitNotIn(List<Double> values) {
            addCriterion("profit not in", values, "profit");
            return (Criteria) this;
        }

        public Criteria andProfitBetween(Double value1, Double value2) {
            addCriterion("profit between", value1, value2, "profit");
            return (Criteria) this;
        }

        public Criteria andProfitNotBetween(Double value1, Double value2) {
            addCriterion("profit not between", value1, value2, "profit");
            return (Criteria) this;
        }

        public Criteria andHkDespoitIsNull() {
            addCriterion("hk_despoit is null");
            return (Criteria) this;
        }

        public Criteria andHkDespoitIsNotNull() {
            addCriterion("hk_despoit is not null");
            return (Criteria) this;
        }

        public Criteria andHkDespoitEqualTo(Integer value) {
            addCriterion("hk_despoit =", value, "hkDespoit");
            return (Criteria) this;
        }

        public Criteria andHkDespoitNotEqualTo(Integer value) {
            addCriterion("hk_despoit <>", value, "hkDespoit");
            return (Criteria) this;
        }

        public Criteria andHkDespoitGreaterThan(Integer value) {
            addCriterion("hk_despoit >", value, "hkDespoit");
            return (Criteria) this;
        }

        public Criteria andHkDespoitGreaterThanOrEqualTo(Integer value) {
            addCriterion("hk_despoit >=", value, "hkDespoit");
            return (Criteria) this;
        }

        public Criteria andHkDespoitLessThan(Integer value) {
            addCriterion("hk_despoit <", value, "hkDespoit");
            return (Criteria) this;
        }

        public Criteria andHkDespoitLessThanOrEqualTo(Integer value) {
            addCriterion("hk_despoit <=", value, "hkDespoit");
            return (Criteria) this;
        }

        public Criteria andHkDespoitIn(List<Integer> values) {
            addCriterion("hk_despoit in", values, "hkDespoit");
            return (Criteria) this;
        }

        public Criteria andHkDespoitNotIn(List<Integer> values) {
            addCriterion("hk_despoit not in", values, "hkDespoit");
            return (Criteria) this;
        }

        public Criteria andHkDespoitBetween(Integer value1, Integer value2) {
            addCriterion("hk_despoit between", value1, value2, "hkDespoit");
            return (Criteria) this;
        }

        public Criteria andHkDespoitNotBetween(Integer value1, Integer value2) {
            addCriterion("hk_despoit not between", value1, value2, "hkDespoit");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}